package cn.edu.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Mr.ma
 * @since 2022/12/7 19:15
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_dept")
@ApiModel("部门实体类")
public class Dept {
    @TableId("did")
    @ApiModelProperty("部门编号")
    private Integer did;
    @ApiModelProperty("部门名")
    @TableField("dName")
    private String dName;
    @ApiModelProperty("部门地址")
    private String address;
}
